package com.printeverywhere.ImpComparator;

import java.util.Comparator;

import com.printeverywhere.dto.Announcement;

public class SortAnnouncement {
	public class SortByDate implements Comparator<Announcement> {
		public int compare(Announcement objOne, Announcement objTwo) {
		        return objOne.getDate().compareTo(objTwo.getDate());
		}
	}
}
